﻿namespace FFF.Test.Application.Framework.Dto
{
    using System;
    using System.Collections.Generic;
    using System.Linq;
    using System.Threading.Tasks;

    /// <summary>
    /// 批量更新dto
    /// </summary>
    public class BatchUpdateInDto
    {
        /// <summary>
        /// 选择的id的string 用逗号分隔
        /// </summary>
        public List<string> Ids { get; set; }

        /// <summary>
        /// 批量更新的Dtos
        /// </summary>
        /// <value>The batch dtos.</value>
        /// <remarks>于大明</remarks>
        public List<BatchUpdateField> BatchDtos { get; set; }
    }

    /// <summary>
    /// 批量更新dto
    /// </summary>
    public class BatchUpdateField
    {
        /// <summary>
        /// 属性名称
        /// </summary>
        /// <value>The name of the property.</value>
        /// <remarks>于大明</remarks>
        public string Name { get; set; }

        /// <summary>
        /// 属性的值
        /// </summary>
        /// <value>The property value.</value>
        /// <remarks>于大明</remarks>
        public object Value { get; set; }
    }

}
